package cn.pzaily.orange.producer.service;

import cn.pzaily.orange.producer.hystrix.OrangeProductHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "orange-product", fallback = OrangeProductHystrix.class)
public interface OrangeProductService {
    @RequestMapping(value = "/")
    public String hello();
}
